home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set spriteNumber to the clickOn
- puppetSprite(spriteNumber, 1)
- set normal to the name of cast the mouseCast
- set pressed to the name of cast the mouseCast
- put "•" into char 1 of pressed
- if pressed = "•" then
- puppetSprite(spriteNumber, 1)
- exit
- end if
- repeat while the mouseDown
- set the castNum of sprite spriteNumber to cast pressed
- if not rollOver(spriteNumber) then
- set the castNum of sprite spriteNumber to cast normal
- updateStage()
- puppetSprite(spriteNumber, 0)
- exit
- end if
- updateStage()
- end repeat
- set the castNum of sprite spriteNumber to cast normal
- puppetSprite(spriteNumber, 0)
- updateStage()
- beep()
- ShowDialog(1, 2002, EMPTY, 1)
- end
-